<!-- 顶部导航查询条 -->
<template>
    <div class="navigationBar">
        <div class="title">
            {{ customTitle }}
        </div>
        <div class="search">
            <slot></slot>
        </div>
    </div>
</template>

<script>
export default {
    name: 'navigationBar',
    props: ['customTitle']
}
</script>

<style scoped lang="scss">
.navigationBar {
    /* height: 36px; */
    line-height: 36px;
    background-color: #fff;
    display: flex;
    .searchContent {
        display: flex;
        justify-content: flex-end;
        margin-right: 0;
    }
}

.navigationBar .title {
    position: relative;
    text-indent: 20px;
    font-size: 15px;
}

.navigationBar .title::before {
    background-color: rgb(22, 132, 252);
    height: 16px;
    width: 3px;
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.navigationBar .search {
    flex: 1;
    margin-left: 20px;
    margin-right: 10px;
    text-align: right;
}
</style>
